import ProxyInterface from '../proxy-interface';
import { MessagePageModel } from '../model/message';

class MessagePageProxy implements ProxyInterface<MessagePageModel> {
  private messagePage: MessagePageModel = new MessagePageModel();

  constructor (responseData) {
    let data = responseData;
    Object.assign<MessagePageModel, any>(this.messagePage, data);
  }

  getModel (): MessagePageModel {
    return this.messagePage;
  }
}

export {
  MessagePageProxy
};
